;; Emacs init file

(setq locate-command "mdfind")

(setq c-default-style "bsd"
      c-basic-offset 8)

;; Load path
;(setq load-path (cons "~/.emacs.d/site-lisp" load-path))
(add-to-list 'load-path "~/.emacs.d/site-lisp/")

;; ;; Lua mode
;; (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
;; (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
;; (add-to-list 'interpreter-mode-alist '("lua" . lua-mode))

;; ;; Applescript mode
;; (autoload 'applescript-mode "applescript-mode"
;;   "major mode for editing AppleScript source." t)
;; (setq auto-mode-alist
;;       (cons '("\\.applescript$" . applescript-mode) auto-mode-alist))

;; Markdown mode
(autoload 'markdown-mode "markdown-mode.el"
  "Major mode for editing Markdown files" t)
(setq auto-mode-alist 
      (cons '("\\.text" . markdown-mode) auto-mode-alist))
